feat(ai-accounts): compact single-line quota rows - #935
Merged
Conversation
The card gave each quota two lines โ a label row and a separate track below it โ so five quotas filled the card and the numbers sat far from the names they belonged to. Reading down a column meant hopping between rows. Each quota is now one line: the fill is the row's own background rather than a track underneath, and the label, countdown and percentage share it. Same information, half the height, and the numbers line up in a column you can scan. The countdown moves inline from the detail row it used to occupy, which is what freed the second line. Antigravity rows carry the family name straight from the backend again. That view now measures each family from one representative model, so the hint says which model the number came from โ an aggregate had no honest answer to that question, since it mixed models on different reset cycles. The previous "N ไธชๆจกๅๅ ฑไบซ" labelling is gone. It described the data correctly and told the reader nothing: a bucket count is an internal detail, not something to hand to someone checking whether they have quota left. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Panel half. Pairs with kittors/CliRelay#915 โ merge that one first.
Before / after
Each quota used two lines โ a label row, then a separate track underneath:
Now one line, with the fill as the row's own background:
Same information, half the height, and the percentages line up in a column you can scan instead of hopping between rows. The countdown moves inline from the detail row it used to occupy, which is what freed the second line.
This follows the layout Antigravity-Manager uses for its own quota list โ a 22px row where the bar is the background and label / countdown / percentage share the line.
Antigravity labelling
Rows carry the family name straight from the backend again โ Gemini Pro, Gemini Flash, Gemini Image, Claude, and any unclassified model under its own name.
The backend now measures each family from one representative model, so the โ says which model the number came from. An aggregate had no honest answer to that: it mixed models sitting on different reset cycles.
"N ไธชๆจกๅๅ ฑไบซ" is gone. It described the data correctly and told the reader nothing โ a bucket count is an internal detail, not something to hand to someone checking whether they have quota left. That was my mistake, not a requirement.
Accounts that can read the grouped summary still show the upstream's own group names with both windows.
Verification
Full suite green: 167 files / 1233 tests.
tsc,oxlintand all four structure gates pass.๐ค Generated with Claude Code